package org.rency.spring.cloud.boot.mvc.service;

import org.rency.spring.cloud.boot.mvc.domain.MemberDomain;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

/**
 * $TODO
 *
 * @author: Created by user_rcy@163.com on 2016/08/17.
 * @version: V1.0.0
 * @since JDK 1.8
 */
public interface MemberService extends UserDetailsService {

    public MemberDomain add(MemberDomain member);

    public boolean remove(String memberId);

    public MemberDomain get(String memberId);

    public List<MemberDomain> loadAll();
}
